﻿/*
 * FeatureDataSourceTypeEnum
 * 
 * initial implementation : 17.7.2011
 *
 * Copyright (c) Adam Sida, asida@centrum.cz.
 * All rights reserved.
 * 
 * for license see Petra.Gis.License.txt
 */
namespace Petra.Gis.DataServices
{


  public enum FeatureDataSourceTypeEnum : int
  {

#if !SILVERLIGHT
    /// <summary>
    /// file based data source requres physical acces to files on local storage media.
    /// Data is available over System.Data.DbDataReader
    /// Typical file data source is shp, ms access, dbf,...
    /// </summary>
    FileBasedDataSource = 0,




    /// <summary>
    /// network and database data source loads data over network from remote data warehouse.
    /// Connection to data is realized over TCP/IP protocol and usually using some standard
    /// data interface such as ODBC, OLEDB,...
    /// Data is available over System.Data.DbDataReader
    /// typicaly Oracle, sqlserver, sybase, DB2,...
    /// </summary>
    NetworkAndDatabaseDataSource = 1,
#endif



    /// <summary>
    /// local inmemory data source that has all data stored in memory and requires
    /// no file or network access with exception of HTTP protocol, where some data can load over http from network
    /// and stored in memory.
    /// this is typicaly used for client side spatial analysis or data caching.
    /// </summary>
    ObjectDataSource = 2
  }

}
